import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2022-10-27
 * Time: 21:37
 */
public class Task {
//    public static boolean hasCycle(ListNode head){
//        ListNode flow = head;
//        ListNode slow = head;
//        while (flow != null &&flow.next != null){
//            flow = flow.next.next;
//            slow = slow.next;
//            if(flow == slow){
//                return true;
//            }
//        }
//        return false;
//    }

}
